const todayData = ()=>import('@/views/todayData.vue')
const Layout = () => import("@/layout/index.vue");
export default [
    {
      path: "/todayData",
      component: Layout,
      name: "实时大屏管理",
      meta: { title: "实时大屏管理", icon: "Document" },
      icon: "Document",
      redirect: "/todayData/show",  // 直接重定向到指定的页面
      children: [
        {
          path: "show",  // 动态路由参数
          component: todayData,
          meta: {
            title: "实时大屏" // 必需加上title,否则出错
          }
        }
      ]
    },
    {
      path: "/todayData",
      component: todayData,
      name: "实时大屏展示",
      meta: { title: "实时大屏展示", icon: "Document" },
      icon: "Document",
      hidden: true,
    
    }
  ];
  